package la.bbs558.service;

import com.baomidou.mybatisplus.extension.service.IService;
import la.bbs558.entity.UserData;
import la.bbs558.entity.params.UserDataForAdminPage;
import la.bbs558.entity.params.UserVisitCollectPage;
import la.bbs558.entity.params.UserVisitParams;

/**
 * 用户表(UserData)表服务接口
 *
 * @author weihanmin
 * @since 2023-12-15 16:15:24
 */
public interface UserDataService extends IService<UserData> {

    void updatePoints(Long userId, int points);

    UserData initGetUserData(Long userId);

    UserData verifyInviteCode(String code);

    void visit();

    void getListForAdmin(UserDataForAdminPage page);

    void visitCollect(UserVisitParams params);

    UserVisitCollectPage getVisitCollectPageForAdmin(UserVisitCollectPage page);
}

